import { BroadCastCall } from "../broadCast/BroadCastCall";
import { MessageBlock } from "../../../../Framework/MQ/MessageBlock";
import { SMapSharpInfo } from "../../../../Message/BroadCast/SMapSharpInfo";
import { MapDataUpdater } from "../../scene/map/MapDataUpdater";
//class MapSharpCommand
    
    export  class MapSharpCommand extends BroadCastCall
    {
        constructor(arg1: Object)
        {
            super(arg1);
            return;
        }

        public /* override */ call(arg1: MessageBlock): void
        {
            var loc1=arg1.messageBase as SMapSharpInfo;
            MapDataUpdater.mapSharp = loc1;
            MapDataUpdater.isMapSharpUpdate = true;
            MapDataUpdater.updateMapDataBySharp();
            return;
        }
    }
